package com.china08.yxyapi.entity.db.statistics;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 地区资源统计, 每个区县,每天统计一条数据
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_statistics_area_res_report", catalog = "yxy_yxy", uniqueConstraints = {
        @UniqueConstraint(columnNames = { "int_date", "area_id_district" }) })
public class AreaResourceReport extends BaseEntity {

    /**
     * 统计日期
     */
    @Column(name = "statistics_date")
    private Date statisticsDate;

    /**
     * integer 类型 统计日期 20170426
     */
    @Column(name = "int_date")
    private Integer intDate;

    /**
     * 
     */
    @Column(name = "int_day")
    private Integer intDay;
    
    /** The area id district. 地区id */
    @Column(name = "area_id_district")
    private String areaIdDistrict;

    /** The area name district. 地区名称 */
    @Column(name = "area_name_district")
    private String areaNameDistrict;

    /** The area id city.市代码 */
    @Column(name = "area_id_city")
    private String areaIdCity;

    /** The area name city. 市名称 */
    @Column(name = "area_name_city")
    private String areaNameCity;

    /** The area id province. 省代码 */
    @Column(name = "area_id_province")
    private String areaIdProvince;

    /** The area name province.省名称 */
    @Column(name = "area_name_province")
    private String areaNameProvince;

    /**
     * 统计日期资源上传数量
     */
    @Column(name = "res_count")
    private Long resCount=0L;

    @Column(name = "share_res_count")
    private Long shareResCount=0L;

    /**
     * 微课数量
     */
    @Column(name = "weike_count")
    private Long weikeCount=0L;

    @Column(name = "share_weike_count")
    private Long shareWeikeCount=0L;

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Integer getIntDate() {
        return intDate;
    }

    public void setIntDate(Integer intDate) {
        this.intDate = intDate;
    }

    public String getAreaIdDistrict() {
        return areaIdDistrict;
    }

    public void setAreaIdDistrict(String areaIdDistrict) {
        this.areaIdDistrict = areaIdDistrict;
    }

    public String getAreaNameDistrict() {
        return areaNameDistrict;
    }

    public void setAreaNameDistrict(String areaNameDistrict) {
        this.areaNameDistrict = areaNameDistrict;
    }

    public String getAreaIdCity() {
        return areaIdCity;
    }

    public void setAreaIdCity(String areaIdCity) {
        this.areaIdCity = areaIdCity;
    }

    public String getAreaNameCity() {
        return areaNameCity;
    }

    public void setAreaNameCity(String areaNameCity) {
        this.areaNameCity = areaNameCity;
    }

    public String getAreaIdProvince() {
        return areaIdProvince;
    }

    public void setAreaIdProvince(String areaIdProvince) {
        this.areaIdProvince = areaIdProvince;
    }

    public String getAreaNameProvince() {
        return areaNameProvince;
    }

    public void setAreaNameProvince(String areaNameProvince) {
        this.areaNameProvince = areaNameProvince;
    }

    public Long getResCount() {
        return resCount;
    }

    public void setResCount(Long resCount) {
        this.resCount = resCount;
    }

    public Long getShareResCount() {
        return shareResCount;
    }

    public void setShareResCount(Long shareResCount) {
        this.shareResCount = shareResCount;
    }

    public Long getWeikeCount() {
        return weikeCount;
    }

    public void setWeikeCount(Long weikeCount) {
        this.weikeCount = weikeCount;
    }

    public Long getShareWeikeCount() {
        return shareWeikeCount;
    }

    public void setShareWeikeCount(Long shareWeikeCount) {
        this.shareWeikeCount = shareWeikeCount;
    }

}
